class Admin::SessionsController < Devise::SessionsController
  
  skip_before_filter :require_admin
  layout 'landing'

  def new
  end

  def create
    self.resource = warden.authenticate!(auth_options)
    sign_in(resource_name, resource)
    yield resource if block_given?
    redirect_to admin_path
  end

end
